﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;


using Meqs.Entity;
using Meqs.Logic.Interface;
using System.Collections.Generic;
using Castle.Windsor;

public partial class School_CauseList : System.Web.UI.Page
{
    //protected List<GlobalCauseInfo> listTable;

    protected void Page_Load(object sender, EventArgs e)
    {

    }

    [System.Web.Services.WebMethod]
    public static List<GlobalCauseInfo> InitCauseList()
    {
        IGlobalCauseInfoLogic causeLogic = Container<IGlobalCauseInfoLogic>.Instance;
        List<GlobalCauseInfo> causeList = (List<GlobalCauseInfo>)causeLogic.SelectSchoolCause(Common.GetConstSchoolMark(),1);

        return causeList;
    }
}
